/**
 * Token 工具类
 * @author xsf
 * @date 2019/11/17 0017
 * @version v1.0.0
 **/

import Cookies from 'js-cookie'

const TokenKey = 'jieyou_token'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
